package com.yoku.user.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Desc:
 * Date: 2017/1/8
 */

@Data
public class Shop {
    private Long id;
    private String name;
    private Location location;    //lat,lon 维度,经度
    private Range range;   //范围

    @Data
    public static class Location implements Serializable {
        private String type;
        private Double lat;
        private Double lon;
    }

    @Data
    public static class Range implements Serializable {

        private String type;
        private List<Double[][]> coordinates;
    }
}
